package com.atsmart.app.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import com.google.json.annotations.SerializedName;

public class MessageListInfo implements Serializable{

	/**
	 *
	 */
	private static final long serialVersionUID = 3333700383796630076L;

	@SerializedName("recordset")
	private List<MessageInfo> msgs;
	@SerializedName("rows")
	private int rows;
	public void setMsgs(List<MessageInfo> msgs) {
		this.msgs = msgs;
	}
	public List<MessageInfo> getMsgs() {
		return msgs;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	public int getRows() {
		return rows;
	}
	
	public void Sequence()
	{
		MessageInfo comparator=new MessageInfo();
		Collections.sort(msgs, comparator);
		
	}
	
}
